home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
renderTests
/
primitives_with_multiAppearance
< prev
next >
Wrap
Text File
|
2000-09-07
|
3KB
|
109 lines
#VRML V2.0 utf8
Transform {
translation -5 0 0
children Shape {
appearance DEF DIFF_MAP_MULTI_APPEARANCE MultiAppearance {
material Material { diffuseColor .8 .8 .8 specularColor 1 0 0 shininess 0.7
}
diffuseMap DiffuseMap {
texture ImageTexture {
url "../images/shared/sky.gif"
} }
}
geometry Box {
}
}
}
Transform {
translation -2 0 0
children Shape {
appearance DEF WIRE_WITH_HILITE_MULTI_APP MultiAppearance {
material Material { diffuseColor .8 .8 .8 specularColor 1 0 0 shininess 0.7
}
wire true }
geometry DEF TOP_CONE Cone {
} }
}
Transform {
translation 1 0 0 children Shape {
appearance DEF SOLID_WITH_HILITE_MULTI_APPEARANCE MultiAppearance {
material Material {
diffuseColor .8 .8 .8 specularColor 1 0 0 shininess 0.7
}
}
geometry DEF TOP_CYLINDER Cylinder {
}
}
}
Transform {
translation 4 0 0 children Shape {
appearance USE DIFF_MAP_MULTI_APPEARANCE
geometry Sphere {
}
}
}
Transform {
translation -5 -3 0
children Shape {
appearance USE DIFF_MAP_MULTI_APPEARANCE
geometry Box { }
}
}
DEF myPanorama Panorama {
bilinearFilteringEnabled FALSE
environmentCubeMap DEF envMap EnvironmentCubeMap {
frontTexture ImageTexture { url "../images/envmap_haze/front.jpg" }
rightTexture ImageTexture { url "../images/envmap_haze/right.jpg" }
backTexture ImageTexture { url "../images/envmap_haze/back.jpg" }
leftTexture ImageTexture { url "../images/envmap_haze/left.jpg" }
upTexture ImageTexture { url "../images/envmap_haze/up.jpg" }
downTexture ImageTexture { url "../images/envmap_haze/down.jpg" }
}
}
Transform {
translation -2 -3 0
children Shape {
appearance DEF BUMP_MAP_MULTI_APPEARANCE MultiAppearance {
material Material { diffuseColor .8 .8 .8 specularColor 1 0 0 shininess 0.7
}
diffuseMap DiffuseMap {
texture ImageTexture {
url "../images/shared/sky.gif"
} }
bumpLevelMap BumpLevelMap {
texture ImageTexture {
url "../images/shared/sky.gif"
} } }
geometry Cone { }
}
}
Transform {
translation 1 -3 0 children Shape {
appearance DEF ALPHA_MAP_MULTI_APPEARANCE MultiAppearance {
material Material { diffuseColor .8 .8 .8 specularColor 1 0 0 shininess 0.7
}
diffuseMap DiffuseMap {
texture ImageTexture {
url "../images/shared/sky.gif"
} }
opacityLevelMap OpacityLevelMap {
texture ImageTexture {
url "../images/shared/sky.gif"
} } } geometry Cylinder { }
}
}
Transform {
translation 4 -3 0 children Shape {
appearance DEF ENV_MAP_MULTI_APPEARANCE MultiAppearance {
environmentMap USE envMap
}
geometry Sphere { }
}
}